package ylsb.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import ylsb.model.YltpXiangmu;
import ylsb.model.YltpXiangmuExample;

public interface YltpXiangmuMapper {

    List<Map<String, Object>> findAllBypage(@Param("xiangmuname") String mmXiangmuName, @Param("startindex") int mmStartIndex,
                                                        @Param("pagesize") int mmPageSize);

    Object getCount(@Param("xiangmuname") String mmXiangmuName);





    int countByExample(YltpXiangmuExample example);

    int deleteByExample(YltpXiangmuExample example);

    int deleteByPrimaryKey(String xiangmuid);

    int insert(YltpXiangmu record);

    int insertSelective(YltpXiangmu record);

    List<YltpXiangmu> selectByExample(YltpXiangmuExample example);

    YltpXiangmu selectByPrimaryKey(String xiangmuid);

    int updateByExampleSelective(@Param("record") YltpXiangmu record, @Param("example") YltpXiangmuExample example);

    int updateByExample(@Param("record") YltpXiangmu record, @Param("example") YltpXiangmuExample example);

    int updateByPrimaryKeySelective(YltpXiangmu record);

    int updateByPrimaryKey(YltpXiangmu record);
}